[iphone] UIControlEventTouchDragEnter doesn't seem to work for catching a tap that slides into a con

Posted by mahboudz on Stack Overflow See other posts from Stack Overflow or by mahboudz
Published on 2010-04-04T09:26:38Z Indexed on 2010/04/04 9:33 UTC
Read the original article Hit count: 304

Filed under:
|
|

I wanted to allow for a method to get called, if a finger was dragged from outside into the bounds of a control. I thought UIControlEventTouchDragEnter would do it, but it doesn't seem to. Does anyone know if there is a way to trigger an action based on a tap sliding into a control?

This is what I was trying, but got no calls to my -fingerSlidIn:

[aButton addTarget:self action:@selector(fingerSlidIn:withEvent: ) forControlEvents: UIControlEventTouchDragEnter];

Thanks!

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk